<ui:composition xmlns:p='http://primefaces.org/ui'
                xmlns='http://www.w3.org/1999/xhtml'
                xmlns:h='http://java.sun.com/jsf/html'
                xmlns:f='http://java.sun.com/jsf/core'
                xmlns:ui='http://java.sun.com/jsf/facelets'>

<p:column sortBy='#{v}' style='white-space:normal; width: #{w != null? w : -1 }'>

  <f:facet name='header'><h:outputText value='#{t}' title='#{tooltip}'/></f:facet>

  <h:outputText value='#{v}'/>

</p:column>

</ui:composition>
